﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace Data.MongoDb.Entity
{
    public class EntityWithTypeId<Tid>
    {
        public Tid Id { get; set; }
    }
    [BsonSerializer]
    public abstract class Entity : EntityWithTypeId<ObjectId>
    {
    }
}
